import Http from "../http";

export function iotsimPaginationApi(params:any) {
    return Http.get('iotSim/list', params)
}

export async function addIotsimApi(data:any) {
    return await Http.post('iotSim/add', data)
}

export async function editIotsimApi(id:number, data:any) {
    return await Http.put('iotSim/edit/' + id, data)
}

export async function deleteIotsimApi(ids:number[]) {
    return await Http.delete('iotSim/delete', {ids})
}

export async function querySimByCardNoApi(cardNo:string) {
    return Http.get('iotSim/list/' + cardNo)
}